package com.power.using.mydaggerp.contract.home.tabs;

import com.power.using.mydaggerp.model.bean.zhihu.ZhihuDailyItemBean;
import com.power.using.mydaggerp.model.bean.zhihu.ZhihuDailyListBean;

import io.reactivex.Observable;

/**
 * Created by 聪明一只哈 on 2019/10/11.
 * Time: 2019/10/11  10:18
 */
public interface ZhihuContract {


    abstract class  ZhihuPresenter extends BaseTabsContract.BaseTabsPresenter<IZhihuModel,IZhihuView,ZhihuDailyItemBean>{

    }


    interface IZhihuModel extends BaseTabsContract.IBaseTabsModel{

        /**
         * 根据日期获取日报list --> 20170910
         * @param date
         * @return
         */
        Observable<ZhihuDailyListBean> getDailyList(String date);

        /**
         * 获取日报list
         * @return
         */
        Observable<ZhihuDailyListBean> getDailyList();
    }


    interface IZhihuView extends BaseTabsContract.IBaseTabsView<ZhihuDailyItemBean>{

    }
}
